home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / server / amitcp_fspd.lha / fspd / example.conf < prev    next >
Encoding:
Text File  |  1994-05-20  |  5.2 KB  |  130 lines

  1. # This is an example fspd.conf file.  Copy it and edit it to suit your tastes.
  2.  
  3. # The 'conf' command allows a global file to read local files so that
  4. # multiple users at a site can use the same central fspd file.
  5. #
  6. # conf .fspd.conf
  7.  
  8. # The 'readme' commands specifies the name of the local readme file
  9. # for each directory.  If no readme command is given, the readme file
  10. # defaults to .README
  11. #
  12. readme .README
  13.  
  14. # The usecachedir command tells the server if it's going to be using a
  15. # cache directory on if it will be relying on .FSP_CONTENT files instead.
  16. # it accepts the parameters 'on' or 'off'
  17. #
  18. usecachedir on
  19.  
  20. # The 'cachedir' command controls where the server thinks the cache
  21. # directory is located if the usecachedir command is set to 'on'.
  22. # This directory must be an absolute path.
  23. #
  24. cachedir home:fsp/cache
  25.  
  26. # The 'homedir' command tells the server where it's ROOT directory is.
  27. # This directory must be given as an absolute path.
  28. #
  29. homedir dh1:archives
  30.  
  31. # The 'logfile' command tells the server where to log things too if
  32. # logging is enabled.
  33. # It must be an absolute path, it must include the filename.
  34. #
  35. logfile home:fsp/logfile
  36.  
  37. # The 'log' command specifies the type of logging that should be performed.
  38. # The log command takes the following options
  39. # 'none' or any of 'all', '(!)errors', '(!)version', '(!)getdir',
  40. # '(!)getfile', '(!)upload', '(!)install', '(!)delfile', '(!)deldir',
  41. # '(!)setpro', '(!)getpro', '(!)makedir', '(!)grabfile'.
  42. # logging of 'all' will include logging of errors.
  43. # for example:
  44. # log all !errors -- will log all commands sent, but no error messages.
  45. # log all !getdir -- will log all commands except getdir and all errors
  46. #                    EXCEPT those that occured on a getdir command.
  47. # log install getfile errors -- will log all install and getfile commands
  48. #                    as well as any errors that occur on ONLY those commands.
  49. # If no log command is given, logging will be turned of (same as 'log none')
  50. #
  51. log all !version !getdir !grabfile !getfile !getpro
  52.  
  53. # The 'port' command specifies which port the fspd server is to listen two.
  54. # This is NOT needed if running under inetd, but otherwise is required.
  55. #
  56. port 21
  57.  
  58. # The 'thruput' command is used to specify the thruput control in avg # of
  59. # bytes per second that the server will allow.  Use 'thruput off' to specify
  60. # no thruput control.  A negative value or zero will also shut off thruput
  61. # control.  If this command is not given, it acts like 'thruput off'
  62. #
  63. # thruput off
  64.  
  65. # The 'setuid' command is used to specify a specific uid under which the
  66. # FSP server will run.  Use 'setuid off' or 'setuid 0' in order to not
  67. # attempt to perform a setuid.  If this command is not given, it acts like
  68. # 'setuid off'
  69. # **** CURRENTLY NOT WORKING ON AN AMIGA ****
  70. #
  71. # setuid off
  72.  
  73. # The 'daemonize' command specifies whether the fspd should fork itself into
  74. # the background when started up.  The only acceptable values are 'on' or
  75. # 'off'.  If this command isn't given, it acts like 'daemonize off'.
  76. # **** CURRENTLY NOT WORKING ON AN AMIGA ****
  77. #
  78. # daemonize off
  79.  
  80. # The 'debug' command specifies whether the server should write debugging
  81. # output to stderr while it is running. The only acceptable values are 'on'
  82. # or 'off'.  If this command is never given, it acts like 'debug off'.
  83. #
  84. debug off
  85.  
  86. # The 'restricted' command specifies whether the server is run in restricted
  87. # mode.  In this case, only hosts enabled via the 'host' command will be
  88. # able to connect.  The only acceptable values for this command are 'on' or
  89. # 'off'.  If the command isn't given, it acts as 'restricted off'.
  90. #
  91. # restricted off
  92.  
  93. # The 'reverse_name' command specifies if the server refuses connections to
  94. # sites that it cannot reverse lookup.  The only acceptable values for this
  95. # command are 'on' or 'off'.  If the command is not given, it acts like
  96. # 'reverse_name off' by default.
  97. #
  98. reverse_name on
  99.  
  100. # The 'read_only' command specifies whether the server should ignore any
  101. # command that would cause a 'write' action on the server.  The commands
  102. # that are refused by this are upload, install, mkdir, deldir, delfile,
  103. # and setpro.  The only acceptable values for this command are 'on' or 'off'.
  104. # If the command is not given, it acts like 'read_only off'.
  105. #
  106. # read_only off
  107.  
  108. # The 'host' command subsumes the function of the .IPHOSTS file from
  109. # previous versions.  Each line looks as follows.  (information in []
  110. # is optional)
  111. #   host host_mask [host_type message]
  112. #
  113. # host_mask is either the full numeric or text name of a machine OR
  114. #                     a wildcarded host mask.
  115. #   wildcarded hostmasks look as follows.
  116. #   128.4 - 8.*.* -- (* acts as the range 0 - 255)
  117. #   The above line would affect all hosts of the form 128.4.*.*, 128.5.*.*,
  118. #   128.6.*.*, 128.7.*.* and 128.8.*.*.
  119. #   This sort of host masking is only available with numeric hosts, not with
  120. #   text names.
  121. # host_type is one of D, I, or N.
  122. #   I hosts are ignored, N hosts are treated as normal, and D hosts will
  123. #   get back the error string message given as the third parameter.
  124. #
  125. # If host_type isn't specified, the host is treated as ignored or normal
  126. # depending on the value of restricted.
  127. #
  128. # The following line allows all CMU machines (128.2.*.*) access to a site.
  129. # host 128.2.*.* N This message is useless here.
  130.